package com.example.webdemo.common;

import com.example.webdemo.bean.User;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

/**
 * @author zp
 * @version 1.0
 * @description: 公共类
 * @date 2023/7/27 19:17
 */
public class Common {
    public static final String MY_TOKEN="my_token";
    public static final Map<String, User> map = new HashMap<>();
    public static final String IMAGE_PATH = Common.class.getClassLoader().getResource("/").getPath();
    public static final long M3_TO_BYTE = 1024 * 1024 *  3;
}
